package cn.hxlc.tie.demo.modular.material.mapper;

import cn.hxlc.tie.demo.modular.material.entity.Materialgroup;
import cn.hxlc.tie.demo.modular.material.model.param.MaterialgroupParam;
import cn.hxlc.tie.demo.modular.material.model.result.MaterialgroupResult;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MaterialgroupMapper extends BaseMapper<Materialgroup> {

    List <MaterialgroupResult> customList(@Param("param") MaterialgroupParam param);


    Page<MaterialgroupResult> customPageList(@Param("page") Page page, @Param("param") MaterialgroupParam param);

}
